package com.hz.web.dao;

import java.util.List;
import java.util.Map;

import com.hz.web.entity.PunishmentEntity;

/**
 * 处罚公示dao层
 * @author Administrator
 *
 */
public interface PunishmentDao {

	/**
	 * 添加处罚公示信息
	 * @param entity
	 * @return
	 */
	int addPunishment(PunishmentEntity entity);
	/**
	 * 查询处罚信息
	 * @param parmsMap
	 * @return
	 */
	List<PunishmentEntity> queryPunishment(Map<String, Object> parmsMap);
	/**
	 * 查询处罚信息总条数
	 * @param parmsMap
	 * @return
	 */
	int queryPunishmentCount (Map<String, Object> parmsMap);
}
